<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:body>

	<ui:composition template="/WEB-INF/templates/1000_layout.xhtml">

		<ui:define name="head">
			<title>Purchase Requisitions : For Approval Status</title>
		</ui:define>

		<ui:define name="user_project_update_param">
			<ui:param name="updateForUserProjects"
				value="@form :approvalForm :menubarForm" />
		</ui:define>

		<ui:define name="content">
			<br />
			<h:form id="approvalForm">
				<p:fieldset legend="For Approval Requests"
					rendered="#{not empty userSession.projectId}">
					<ui:include
						src="/WEB-INF/templates/entity/purchaseRequisition.approval.table.xhtml">
						<ui:param name="ajaxRowSelectUpdate" value=":formDlg:itemDetail" />
						<ui:param name="backingBean"
							value="#{dtApprovalPurchaseRequisitionsView}" />
						<ui:param name="lazyModel"
							value="#{dtApprovalPurchaseRequisitionsView.lazyModel}" />
					</ui:include>
				</p:fieldset>
			</h:form>

			<h:form id="formDlg">
				<ui:include
					src="/WEB-INF/templates/entity/purchaseRequisition.table.dialog.xhtml">
					<ui:param name="backingBean"
						value="#{dtPurchaseRequisitionView}" />
					<ui:param name="outcome" value="/pr/edit" />
				</ui:include>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>